package edu.mju.B9_2.entity;

/**
 * 果汁制造器
 * @Author: wyp
 * @Date: 2020/10/12 9:49
 */
public class JuiceMaker2 {
    private String beverageShop = null;
    private Source source = null;

    public String getBeverageShop() {
        return beverageShop;
    }

    public void setBeverageShop(String beverageShop) {
        this.beverageShop = beverageShop;
    }

    public Source getSource() {
        return source;
    }

    public void setSource(Source source) {
        this.source = source;
    }

    public String makeJuice(){
        String juice = "由"+beverageShop+"饮品店，提供的"+source.getSize()+source.getSugar()+source.getFruit();
        return juice;
    }
}
